<!DOCTYPE html>
<html>
<?php echo $this->fetch('head.html'); ?>

<body>

 <div class="fullscreen">

	<div class="topfixed">
       <div class="t_left"><a href="/index.php?m=article" class="goBack"><i class="back"></i></a></div>
       <div class="t_main">详情</div>
   	   
    </div> 
    <div class="paddingheight"></div>

<div class="comblock">
<div class="d-title"><?php echo $this->_var['data']['title']; ?></div>
<div class="d-tool"> <?php echo $this->_var['data']['author']['nickname']; ?>&nbsp;&nbsp; <?php echo timeago($this->_var['data']['dateline']); ?> 
<?php if ($this->_var['data']['userid'] == $this->_var['ssuser']['userid']): ?><a href="/index.php?m=forum&a=add&id=<?php echo $this->_var['data']['id']; ?>">编辑</a><?php endif; ?></div>
<?php $this->assign("imgsdata",M("imgs")->get("forum","".$this->_var["data"]["id"]."")); ?>
<?php echo $this->fetch('imgs/inc_common.html'); ?>
<div class="d-content">
<?php echo $this->_var['data']['content']; ?>
</div>

 
</div>
</div>
 
</body>
</html>
